<div class="connection-tab large-12 column pendingList">
	<!-- <div class="con-inner large-12 column">
		<div class="conn-dptmb large-2 column" style="background:url(<?= BASE_URI ?>img/user_dp/pro4.jpg);background-size:cover;">
		</div>
		<div class="coninfo large-6 column">
			<p><a href="">Holy Shit</a></p>
			<p style="margin-top:-1.3rem;">Freelance Writer</p>
			<p style="margin-top:-1.6rem;"><small>95 mutual connections</small></p>
		</div>
		<div class="conbtn large-4 text-right column">
			<a class="tiny radius button"> Accept</a>
			<a class="tiny radius button" style="background:#E3E2E1;color:#000;"> Decline</a>
		</div>
	</div> -->
	<span id="errRequest"><center>No new request </center></span>

	<?php foreach ($requests_page->items as $value) { ?>
	<div id="sender_id_<?=$value->uat->id?>"class="con-inner large-12 column request_member">
		<div class="conn-dptmb large-2 column" style="background:url(<?= IMAGE_URL_SMALL.$value->uat->profile_pic ?>);background-size:cover;">
		</div>
		<div class="coninfo large-6 column">
			<p><a href="<?= BASE_URI ?>profile?bhd=<?=$value->uat->id?>"><?= $value->uat->fname.' '.$value->uat->lname ?></a></p>
			<p style="margin-top:-1.3rem;">Freelance Writer</p>
			<p style="margin-top:-1.6rem;"><small>5 mutual connections</small></p>
		</div>
		<div class="conbtn large-4 text-right column">
			<a data-sender-id = "<?=$value->uat->id?>" class="tiny radius button btnAcceptPending"> Accept</a>
			<a class="tiny radius button" style="background:#E3E2E1;color:#000;"> Decline</a>
		</div>
	</div> 
	<?php } ?>
	
	<?php if($requests_page->total_pages > 1) { ?>
	<div class="large-12 columns">
		<ul class="connection-pagination right pagination"> 
			<li class="arrow unavailable"><a href="">&laquo;</a></li> 
			<li class="current"><a href="">1</a></li> 
			<li><a href="">2</a></li> 
			<li><a href="">3</a></li> 
			<li><a href="">4</a></li> 
			<li class="unavailable"><a href="">&hellip;</a></li> 
			<li><a href="">5</a></li>
			<li><a href="">6</a></li> 
			<li class="arrow"><a href="">&raquo;</a>
			</li> 
		</ul>
	</div> 
	<?php }?>
</div>

